/*
 * @Author: liu.lin liu.lin@hzleaper.com
 * @Date: 2023-11-15 09:01:31
 * @LastEditors: liu.lin liu.lin@hzleaper.com
 * @LastEditTime: 2023-11-15 09:11:09
 * @FilePath: \react_ts\src\pages\NeatedTable\table.header.tsx
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { ColumnsType } from "antd/es/table";
import { FatherTableHeader, SonTableHeader } from "./index.type";

export const fatherColumns: ColumnsType<FatherTableHeader> = [
  {
    title: "RTP LOT",
    dataIndex: "rotLot",
    key: "rotLot",
    align: "center",
  },
  {
    title: "Grade",
    dataIndex: "grade",
    key: "grade",
    align: "center",
  },
  {
    title: "尺寸",
    dataIndex: "size",
    key: "size",
    align: "center",
  },
  {
    title: "yield",
    dataIndex: "yield",
    key: "yield",
    align: "center",
  },
  {
    title: "前制程LOT",
    dataIndex: "preProcessLot",
    key: "preProcessLot",
    align: "center",
  },
  {
    title: "检测量",
    dataIndex: "rotLot",
    key: "rotLot",
    align: "center",
  },
  {
    title: "ok量",
    dataIndex: "rotLot",
    key: "rotLot",
    align: "center",
  },
  {
    title: "直通率",
    dataIndex: "rotLot",
    key: "rotLot",
    align: "center",
  },
  {
    title: "漏检量",
    dataIndex: "rotLot",
    key: "rotLot",
    align: "center",
  },
  {
    title: "漏检率",
    dataIndex: "rotLot",
    key: "rotLot",
    align: "center",
  },
  {
    title: "过检量",
    dataIndex: "rotLot",
    key: "rotLot",
    align: "center",
  },
  {
    title: "过检率",
    dataIndex: "rotLot",
    key: "rotLot",
    align: "center",
  },
];

export const sonColumns: ColumnsType<SonTableHeader> = [
  {
    title: "工站",
    dataIndex: "rotLot",
    key: "rotLot",
    align: "center",
  },
  {
    title: "工位",
    dataIndex: "grade",
    key: "grade",
    align: "center",
  },
  {
    title: "缺陷类型",
    dataIndex: "size",
    key: "size",
    align: "center",
  },
  {
    title: "检测量",
    dataIndex: "rotLot",
    key: "rotLot",
    align: "center",
  },
  {
    title: "ok量",
    dataIndex: "rotLot",
    key: "rotLot",
    align: "center",
  },
  {
    title: "直通率",
    dataIndex: "rotLot",
    key: "rotLot",
    align: "center",
  },
  {
    title: "漏检量",
    dataIndex: "rotLot",
    key: "rotLot",
    align: "center",
  },
  {
    title: "漏检率",
    dataIndex: "rotLot",
    key: "rotLot",
    align: "center",
  },
  {
    title: "过检量",
    dataIndex: "rotLot",
    key: "rotLot",
    align: "center",
  },
  {
    title: "过检率",
    dataIndex: "rotLot",
    key: "rotLot",
    align: "center",
  },
];
